//
//  ToursimSecondCell.m
//  Buiom_7.0
//
//  Created by lanou3g on 15/10/28.
//  Copyright © 2015年 triffe. All rights reserved.
//

#import "ToursimSecondCell.h"

#define     KsWidth  [UIScreen mainScreen].bounds.size.width
#define     KsHeigh  [UIScreen mainScreen].bounds.size.height


@implementation ToursimSecondCell


- (instancetype) initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self addSubViews];
    }
    return self;
}

- (void)addSubViews
{
    self.imageViews = [[UIImageView alloc] initWithFrame:CGRectMake(5, 5, 170, 180)];
    [self.contentView addSubview:_imageViews];
   
    self.titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(190, 25, KsWidth - 195, 70)];
    self.titleLabel.font = [UIFont systemFontOfSize:18];
    self.titleLabel.textAlignment = NSTextAlignmentCenter;
    [self.contentView addSubview:_titleLabel];
    
    self.descriptionLsabel = [[UILabel alloc] initWithFrame:CGRectMake(190, 75, KsWidth - 195, 110)];
    self.descriptionLsabel.numberOfLines = 0;
    [self.contentView addSubview:_descriptionLsabel];
    
    self.countLabel = [[UILabel alloc] initWithFrame:CGRectMake(190, 145, KsWidth - 195, 40)];
    [self.contentView addSubview:_countLabel];
    
    
}











- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
